﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Facebook.Master" Inherits="System.Web.Mvc.ViewPage<StackBookMvc.Models.BaseViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Hi
        <fb:name uid="<%: Model.FacebookApi.Session.UserId%>" capitalize="true" firstnameonly="true" />
        ! Welcome to StackBook!</h2><br />
    <% if (Model.StackOverflowUser == null)
        { %>
        <% Html.RenderPartial("UserSearch"); %>
    <% }
        else
        { %>
        <% Html.RenderPartial("UserDetails"); %>
    <% } %>
</asp:Content>
